//封装所有请求路径
import service from "@/service";

//注册
export function user_register(payload={ }){
    return service.post('/api/user/register',payload)
} 
//登录
export function user_login(payload={}){
    return service.post('/api/user/login',payload);
}

export function tuan_list(payload={ }){
    return service.get('/api/tuan/list',{params:payload})
} 

//购物车列表
export function shopcart_list(payload={}){
    return service.get('/api/shopcart/list',{params:payload})
}
//店铺 - 详情
export function shop_shopinfo(payload={}){
    return service.get('/api/shop/shopinfo',{params:payload})
}
//店铺 - 搜索
export function shop_search(payload={}){
    return service.get('/api/shop/search',{params:payload})
}
